<?php
/**
 * Created by PhpStorm.
 * User: 764432054@qq.com
 * Date: 2019/2/26
 * Time: 23:43
 */

$process=new swoole_process(function(swoole_process $pro){
    $pro->exec('/usr/local/bin/php',[__DIR__."/../server/http_server.php"]);
},true);
$pid=$process->start();
echo $pid.PHP_EOL;
swoole_process::wait();

/**





ps aux|grep p1.php


pstree -p 68358

ps aft|grep http_server


 */

